﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Company.Web.Models.HomeModels.IndexModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title><%=ViewData["Title"] %></title>
    <%=ViewData["KeyWord"] %>
    <link href="/Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="/Content/Master.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.4.2.js" type="text/javascript"></script>
    <script src="/Scripts/jquery.fn.imgplayer.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".imgscon").each(function () {
                var player = {
                    width: '280px',
                    height: '387px',
                    time: '5000',
                    transition: 1,
                    duration: 900
                };
                $(this).playImgs(player).start();
            });
        });
    </script>
    <link href="~/Content/home.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="page">
        <div class="home">
            <div class="logo"><%--<img src="/Content/img/02.bmp" alt=""/>--%></div>
            <div class="imgcontent">
                <div class="home_subcontent floatleft">
                    <div class="showimg">
                        <div class="imgbar"> New Product</div>
                        <div class="imgdiv">
                            <div class="imgscon">
                                <% foreach (var item in Model.LeftImgs) %>
                                <% { %>
                                <img height="387px" src='<%=item %>' alt='' />
                                <% } %>
                            </div>
                        </div>
                        <div class="lgcontent"><%=Html.ActionLink(">> " + Language.Ch.Name(), "index", new { l = Language.Ch.Lower() })%></div>
                    </div>
                </div>
                <div class="home_subcontent floatright">
                    <div class="showimg">
                        <div class="imgbar"> New Product</div>
                        <div class="imgdiv">
                            <div class="imgscon">
                                <% foreach (var item in Model.RightImgs) %>
                                <% { %>
                                <img height="387px" src='<%=item %>' alt='' />
                                <% } %>
                            </div>
                        </div>
                        <div class="lgcontent"><%=Html.ActionLink(">> " + Language.En.Name(), "index", new { l = Language.En.Lower() })%></div>
                    </div>
                </div>
            <div class="clear"></div>
            </div>
            <div class="clear"></div>
            <div class="home_01">&nbsp;</div>
        </div>
        <div id="footer">
        </div>
    </div>
</body>
</html>
